package com.examplemartin.jpademo.util;

import java.util.UUID;

public class UUIDUtile {

  public static String engender(String prefix){
    String tmpstr = UUID.randomUUID().toString();
    int no1 = tmpstr.indexOf('-');
    String str1 =tmpstr.substring(0,no1);
    String orderName = DateUtil.getOrderName();
    return prefix+"-"+orderName+"-"+str1;

  }

}
